/**
 * @copyright 2017 sinping.com 北京芯平科技股份有限公司. All rights reserved.
 * 本内容仅限于北京芯平科技股份有限公司内部传阅，禁止外泄以及用于其他的商业目的.
 */
package com.sinping.qh.dto.auth;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * 在线用户前端实体
 *
 * @author xuerunjia
 * @create 2017/12/26
 */
public class OnlineUserDTO implements Serializable{

    private static final long serialVersionUID = 8693176915900921623L;

    //用户名称
    @JsonProperty(value = "user_name")
    private String username;
    //用户id

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    @JsonProperty(value="user_id")
    private String id;

    private String nickname;


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

}
